import request from '@/utils/request'

// 查询试卷题目列表
export function listExaminationpaperquestion(query) {
  return request({
    url: '/system/examinationpaperquestion/list',
    method: 'get',
    params: query
  })
}

// 查询试卷题目详细
export function getExaminationpaperquestion(id) {
  return request({
    url: '/system/examinationpaperquestion/' + id,
    method: 'get'
  })
}

// 新增试卷题目
export function addExaminationpaperquestion(data) {
  return request({
    url: '/system/examinationpaperquestion',
    method: 'post',
    data: data
  })
}

// 修改试卷题目
export function updateExaminationpaperquestion(data) {
  return request({
    url: '/system/examinationpaperquestion',
    method: 'put',
    data: data
  })
}

// 删除试卷题目
export function delExaminationpaperquestion(id) {
  return request({
    url: '/system/examinationpaperquestion/' + id,
    method: 'delete'
  })
}

// 导出试卷题目
export function exportExaminationpaperquestion(query) {
  return request({
    url: '/system/examinationpaperquestion/export',
    method: 'get',
    params: query
  })
}